package com.loveshes.springbootstudy1.mapper;

import com.loveshes.springbootstudy1.bean.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    @Insert("insert into `user` (username,password,create_date,modify_date) " +
            "values (#{username},#{password},#{createDate},#{modifyDate})")
    Integer insert(User user);

    Integer insertWithXml(User user);

}
